protocol Creatable {
    init(name: String)
}

class Product: Creatable {
    var name: String

    // 成员逐一构造器
    required init(name: String) {
        self.name = name
    }
}
var product = Product(name: "Laptop")
